package com.byd.dms.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dept {
    
    private Long deptId;
    private String detpName;
    private Integer detpCount;
    
    private List<User> users ;
    
    
    public Dept(Long deptId, String detpName, Integer detpCount) {
        this.deptId = deptId;
        this.detpName = detpName;
        this.detpCount = detpCount;
    }
}
